﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014F9 RID: 5369
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WolfBroGameActivateBulletCsReq : IMessage<WolfBroGameActivateBulletCsReq>, IMessage, IEquatable<WolfBroGameActivateBulletCsReq>, IDeepCloneable<WolfBroGameActivateBulletCsReq>, IBufferMessage
	{
		// Token: 0x1700439E RID: 17310
		// (get) Token: 0x0600F03C RID: 61500 RVA: 0x00281725 File Offset: 0x0027F925
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WolfBroGameActivateBulletCsReq> Parser
		{
			get
			{
				return WolfBroGameActivateBulletCsReq._parser;
			}
		}

		// Token: 0x1700439F RID: 17311
		// (get) Token: 0x0600F03D RID: 61501 RVA: 0x0028172C File Offset: 0x0027F92C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WolfBroGameActivateBulletCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170043A0 RID: 17312
		// (get) Token: 0x0600F03E RID: 61502 RVA: 0x0028173E File Offset: 0x0027F93E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WolfBroGameActivateBulletCsReq.Descriptor;
			}
		}

		// Token: 0x0600F03F RID: 61503 RVA: 0x00281745 File Offset: 0x0027F945
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameActivateBulletCsReq()
		{
		}

		// Token: 0x0600F040 RID: 61504 RVA: 0x0028174D File Offset: 0x0027F94D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameActivateBulletCsReq(WolfBroGameActivateBulletCsReq other) : this()
		{
			this.groupId_ = other.groupId_;
			this.configId_ = other.configId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F041 RID: 61505 RVA: 0x0028177E File Offset: 0x0027F97E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameActivateBulletCsReq Clone()
		{
			return new WolfBroGameActivateBulletCsReq(this);
		}

		// Token: 0x170043A1 RID: 17313
		// (get) Token: 0x0600F042 RID: 61506 RVA: 0x00281786 File Offset: 0x0027F986
		// (set) Token: 0x0600F043 RID: 61507 RVA: 0x0028178E File Offset: 0x0027F98E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x170043A2 RID: 17314
		// (get) Token: 0x0600F044 RID: 61508 RVA: 0x00281797 File Offset: 0x0027F997
		// (set) Token: 0x0600F045 RID: 61509 RVA: 0x0028179F File Offset: 0x0027F99F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ConfigId
		{
			get
			{
				return this.configId_;
			}
			set
			{
				this.configId_ = value;
			}
		}

		// Token: 0x0600F046 RID: 61510 RVA: 0x002817A8 File Offset: 0x0027F9A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WolfBroGameActivateBulletCsReq);
		}

		// Token: 0x0600F047 RID: 61511 RVA: 0x002817B6 File Offset: 0x0027F9B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WolfBroGameActivateBulletCsReq other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && this.ConfigId == other.ConfigId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F048 RID: 61512 RVA: 0x002817F4 File Offset: 0x0027F9F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.ConfigId != 0U)
			{
				num ^= this.ConfigId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F049 RID: 61513 RVA: 0x0028184C File Offset: 0x0027FA4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F04A RID: 61514 RVA: 0x00281854 File Offset: 0x0027FA54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F04B RID: 61515 RVA: 0x00281860 File Offset: 0x0027FA60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.GroupId);
			}
			if (this.ConfigId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.ConfigId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F04C RID: 61516 RVA: 0x002818BC File Offset: 0x0027FABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.ConfigId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ConfigId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F04D RID: 61517 RVA: 0x00281914 File Offset: 0x0027FB14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WolfBroGameActivateBulletCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.ConfigId != 0U)
			{
				this.ConfigId = other.ConfigId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F04E RID: 61518 RVA: 0x00281964 File Offset: 0x0027FB64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F04F RID: 61519 RVA: 0x00281970 File Offset: 0x0027FB70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 24U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ConfigId = input.ReadUInt32();
					}
				}
				else
				{
					this.GroupId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005EE4 RID: 24292
		private static readonly MessageParser<WolfBroGameActivateBulletCsReq> _parser = new MessageParser<WolfBroGameActivateBulletCsReq>(() => new WolfBroGameActivateBulletCsReq());

		// Token: 0x04005EE5 RID: 24293
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005EE6 RID: 24294
		public const int GroupIdFieldNumber = 2;

		// Token: 0x04005EE7 RID: 24295
		private uint groupId_;

		// Token: 0x04005EE8 RID: 24296
		public const int ConfigIdFieldNumber = 3;

		// Token: 0x04005EE9 RID: 24297
		private uint configId_;
	}
}
